﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OracleClient;

namespace Userinterface_Ver._1_
{
    public partial class frmPhanQuyen : DevComponents.DotNetBar.Office2007Form
    {
        public frmPhanQuyen()
        {
            InitializeComponent();
        }

        private void frmPhanQuyen_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dataSet1.USERS' table. You can move, or remove it, as needed.
            this.uSERSTableAdapter.Fill(this.dataSet1.USERS);
            ////clsConnectDatabase.con.Open();
            //string sql = "select * from USERS";
            //OracleDataAdapter da = new OracleDataAdapter(sql,clsConnectDatabase.con);
            //DataSet ds = new DataSet();
            ////DataTable tdb = 
            //da.Fill(ds);
            //dataGirdManganerUser.DataSource = ds;
        }

        private void btnAddUser_Click(object sender, EventArgs e)
        {
            frmAddUser AddUser = new frmAddUser();
            AddUser.Show();
        }

        private void btnChangeUser_Click(object sender, EventArgs e)
        {
            frmCapNhapUser updateuser = new frmCapNhapUser();
            updateuser.Show();
        }
    }
}
